﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CourseScheduling.DataAccess
{
    public class CSCoursePreference:CSDataObject
    {
        public int ProfPreferenceID
        {
            get
            {
                return (int)this["PreferenceID"];
            }
            set
            {
                this["PreferenceID"] = value;
            }
        }


        public int Rank
        {
            get
            {
                return (int)this["Rank"];
            }
            set
            {
                this["Rank"] = value;
            }
        }

        public int CourseRankID
        {
            get
            {
                return (int)this["CourseRankID"];
            }
            set
            {
                this["CourseRankID"] = value;
            }
        }

        public string CourseCode
        {
            get
            {
                return SafeGetString(this["CourseNumber"]);
            }
            set
            {
                this["CourseNumber"] = value;
            }
        }







    }
}